<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<h:head>
	<f:view>
		<ui:include src="../topo.xhtml"></ui:include>
	</f:view>
</h:head>
<h:body>

	<h:outputStylesheet library="css" name="estilo.css" />

	<div class="container">
		<div class="navegacao">&nbsp;&nbsp;&nbsp; Inicio > Cadastro > Usuario</div>

		<div class="conteudo">

			<div class="formCad">
				<h:form id="form">
				<p:growl></p:growl>
				    <h:outputText value="Selecione o professor"></h:outputText>
				    <p>&nbsp;</p>
					<h:selectOneMenu value="#{relatorioReservaAMB.matriculaUsuario}">
					<f:selectItem itemLabel=" .:Selecione:. "></f:selectItem>
					<f:selectItems value="#{relatorioReservaAMB.listaUsuarios}" var="usuario" itemLabel="#{usuario.nome}" itemValue="#{usuario.matricula}"></f:selectItems>
					</h:selectOneMenu>
						<p>&nbsp;</p>
					<p:commandButton value="Cadastrar"
						action="#{relatorioReservaAMB.gerarRelatorioS}" ajax="false"></p:commandButton>
						&nbsp;&nbsp;&nbsp;&nbsp;
					<p:commandButton value="Cancelar"
						action="#" update="form"></p:commandButton>
				</h:form>
			</div>
		</div>
	</div>

	<div class="rodape">
		<ui:include src="/rodape.xhtml"></ui:include>
	</div>

</h:body>
</html>